package com.jtpay.sdk.jtpay.model;

import java.util.ArrayList;
import java.util.List;

public class PayInfo {
    private String mToken = "";
    private String mPaySystemId = "";
    private String mImgUrl = "";
    private String mAliImgId = "";
    private String mAliUrl = "";
    private String mPayTypeId = "";
    private List<PayTypeModel> mPayTypeModels = new ArrayList<PayTypeModel>();
    private String mPayTypeName = "";
    private List<PayChannelInfo> mPayChannelInfo = new ArrayList<>();
    private String mOpenUrl = "";
    private String mSdkFlag = "";
    private String mPayToken = "";
    private String mWXAppId = "";
    private String mPayJson;
    //default ,use "0"
    private String mPlugin = "0";
    private boolean isPaying;

    public boolean getIsPaying() {
        return isPaying;
    }

    public void setIsPaying(boolean paying) {
        isPaying = paying;
    }

    public String getPlugin() {
        return mPlugin;
    }

    public void setPlugin(String plugin) {
        mPlugin = plugin;
    }


    public String getPayJson() {
        return mPayJson;
    }

    public void setPayJson(String payJson) {
        mPayJson = payJson;
    }

    public void resetPayParam() {
        mOpenUrl = "";
        mSdkFlag = "";
        mPayToken = "";
        mWXAppId = "";
        mImgUrl = "";
        mAliUrl = "";
        mAliImgId = "";
        mPayJson = "";
        mPlugin = "0";
    }

    public void setWXAppId(String WXAppId) {
        mWXAppId = WXAppId;
    }

    public String getWXAppId() {
        return mWXAppId;
    }

    public String getPayToken() {
        return mPayToken;
    }

    public void setPayToken(String payToken) {
        mPayToken = payToken;
    }

    public String getSdkFlag() {
        return mSdkFlag;
    }

    public void setSdkFlag(String sdkFlag) {
        mSdkFlag = sdkFlag;
    }

    public void setPayChannelInfo(List<PayChannelInfo> channelInfo) {
        mPayChannelInfo = channelInfo;
    }

    public void setOpenUrl(String openUrl) {
        mOpenUrl = openUrl;
    }

    public String getOpenUrl() {
        return mOpenUrl;
    }

    public List<PayChannelInfo> getPayChannelInfo() {
        return mPayChannelInfo;
    }

    public void setPayTypeName(String name) {
        mPayTypeName = name;
    }

    public String getPayTypeName() {
        return mPayTypeName;
    }

    public void setPayTypeId(String id) {
        mPayTypeId = id;
    }

    public String getPayTypeId() {
        return mPayTypeId;
    }

    public void setAliImgId(String aliImgId) {
        mAliImgId = aliImgId;
    }

    public String getAliImgId() {
        return mAliImgId;
    }

    public void setAliUrl(String aliUrl) {
        mAliUrl = aliUrl;
    }

    public String getAliUrl() {
        return mAliUrl;
    }

    public void setImgUrl(String url) {
        mImgUrl = url;
    }

    public String getImgUrl() {
        return mImgUrl;
    }

    public String getToken() {
        return mToken;
    }

    public void setToken(String token) {
        mToken = token;
    }


    public String getPaySystemId() {
        return mPaySystemId;
    }

    public void setPaySystemId(String pay_system_id) {
        mPaySystemId = pay_system_id;
    }

    public List<PayTypeModel> getPayTypeModels() {
        return mPayTypeModels;
    }

    public void setPayTypeModels(List<PayTypeModel> payTypeModels) {
        mPayTypeModels = payTypeModels;
    }
}
